package org.hegang.design.second.builder.meal;

public class Main {

    public static void main(String[] args) {
        MealBuilder mealBuilder = new MealBuilder();

        Meal vegMeal = mealBuilder.prepareVegMeal();
        System.out.println("价格：" + vegMeal.getCost());
        vegMeal.showItems();

        System.out.println("#########################################");
        Meal nonVegMeal = mealBuilder.prepareNonVegMeal();
        System.out.println("价格：" + nonVegMeal.getCost());
        nonVegMeal.showItems();
    }

}
